* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

.web {
    .carouselBox {
        width: 1000px;
        height: 562px;
        border: 2px dashed red;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        overflow: hidden; //超出隐藏
        ul {
            width: 100%;
            white-space: nowrap; //不换行
            font-size: 0;
            transition: all 1s;
            li {
                display: inline-block; //设置行内块
                width: 100%;
                img {
                    width: 100%;
                }
            }
        }
        // 箭头
        .arrow {
            width: 160px;
            height: 562px;
            text-align: center;
            line-height: 562px;
            font-size: 36px;
            position: absolute;
            top: 0;
            color: #fff;
            transition: all .3s;
            cursor: pointer;
        }
        // 左
        .leftArrow {
            left: 0;
            background: linear-gradient(90deg, #000, transparent);
            transform: translate(-100%);
        }
        // 右
        .rightArrow {
            right: 0;
            background: linear-gradient(-90deg, #000, transparent);
            transform: translate(100%);
        }
        &:hover .arrow {
            transform: translateX(0%);
        }
        //小圆点
        .pointBox {
            position: absolute;
            bottom: -100px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            font-size: 0;
            transition: .3s;
            ol {
                white-space: nowrap;
                background-color: #87ceeb;
                border-radius: 50% 0%;
                padding: 12px 8px;
                li {
                    width: 6px;
                    height: 6px;
                    display: inline-block;
                    background-color: #fff;
                    margin: 0 8px;
                    cursor: pointer;
                    border-radius: 50%;
                }
                .active {
                    background-color: orange;
                }
            }
        }
        &:hover .pointBox {
            bottom: 30px;
        }
    }
}